package group2.model;

import java.util.List;

/**
 * 书籍类型类
 * @author 薛献军
 * @date 2020/8/18 8:39
 */
public class BookType {

    private Integer id;
    private String name;

    //映射实体
    List<MiniType> miniTypeList;

    public List<MiniType> getMiniTypeList() {
        return miniTypeList;
    }

    public void setMiniTypeList(List<MiniType> miniTypeList) {
        this.miniTypeList = miniTypeList;
    }

    public BookType() {
    }

    public BookType(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
